package cn.exrick.service;

import cn.exrick.pojo.TbFeedbackCat;
import cn.exrick.pojo.common.DataTablesResult;

import java.util.List;

public interface FeedbackCatService {

    int addFeedbackCat(TbFeedbackCat tbFeedbackCat);

    int updateFeedbackCat(TbFeedbackCat tbFeedbackCat);

    int deleteFeedbackCat(int id);

    List<TbFeedbackCat> getAll();

    DataTablesResult getFeedbackCatList();

    int countFeedbackCat();

    TbFeedbackCat getByName(String name);

    boolean checkNameForEdit(int id, String name);

}
